﻿<%@ Page Language="C#" MasterPageFile="~/Views/Master.Master"Inherits="System.Web.Mvc.ViewPage<FormModel>" %>
<%@ Import Namespace="lab04_viewdataextensions.Models"%>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        Please complete the form:
    </p>
    
    <% using (Html.BeginForm()) { %>
    
    <%= Html.ValidationMessage("name") %><br />
    <%= Html.TextBox("name") %><br />
    
    <%= Html.ValidationMessage("someText") %><br />
    <%= Html.TextArea("someText") %><br />
    
    <input type="submit" value="submit" />
    
    <% } %>
    
</asp:Content>
